package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.CustomerLimitInfo;

import java.util.List;

/**
 * 
  * TODO 客户限额
  * @author wanglihua
  * @since 2019年3月06日 下午3:27:58
  * @version 1.0
 */
public interface CustomerLimitInfoDao {
	public int insertCustomerLimitInfo(CustomerLimitInfo customerLimitInfo);
	
	public int deleteByPk(CustomerLimitInfo customerLimitInfo);
	
	public int updateByPk(CustomerLimitInfo customerLimitInfo);
	
	public int updateQuotaTypeByPk(CustomerLimitInfo customerLimitInfo);
	
	public CustomerLimitInfo queryByPk(CustomerLimitInfo customerLimitInfo);
	
	public List<CustomerLimitInfo> queryAllByPage(CustomerLimitInfo customerLimitInfo);
	
	/**
	 * 通过额度限制状态、客户类型查询信息
	 * @author  qiuyf
	 * @since 2019年3月13日 下午4:55:30
	 * @version 0.1 初始为0.1,后续变更则修改
	 */
	public CustomerLimitInfo queryByStsAndCusTyp(CustomerLimitInfo customerLimitInfo);

	public List<CustomerLimitInfo> queryByCondition(CustomerLimitInfo queryCustomLimitInfo);

	/**
	 * 失效 额度限制日期到期的信息
	 * @return
	 */
	public int inValidQuotaLimitOverEndDt();
}
